package mortal.game.manager
{
	import flash.display.*;
	
	public class CursorManager extends Object
	{
		public static const FIX:String = "fix";
		public static const BUY:String = "buy";
		public static const SELL:String = "sell";
		public static const BATCH:String = "batch";
		public static const Skill:String = "Skill";
		public static const AddFriend:String = "buy";
		public static const Attack:String = "Attack";
		public static const Talk:String = "Talk";
		public static const Hand:String = "Hand";
		public static const NO_CURSOR:String = "NO_CURSOR";
		private static var _cursor:CursorManagerImpl = new CursorManagerImpl();
		
		public function CursorManager()
		{
		}
		
		public static function init(stage:Stage) : void
		{
			if (_cursor.parent is Stage)
			{
				
			}
			stage.addChild(_cursor);
		}
		
		public static function showCursor(style:String = "") : void
		{
			if (style == _cursor.cursorStyle)
			{
				
			}
			if (_cursor.cursorStyle == Skill)
			{
				
			}
			_cursor.cursorStyle = style;
		}
		
		public static function hideCursor() : void
		{
			_cursor.cursorStyle = NO_CURSOR;
		}
		
		public static function get cursor() : CursorManagerImpl
		{
			return _cursor;
		}
	}
}
